package com.scau.clothes.sale.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.scau.clothes.core.core.entity.BaseEntity;
import com.scau.clothes.stock.model.entity.ClothesNorm;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class ReturnBack extends BaseEntity implements Serializable {
    /**
     * 订单明细id
     */
    @TableId(value = "return_back_id", type = IdType.AUTO)
    private Long returnBackId;

    /**
     * 服装类
     */
    @TableField(exist = false)
    private ClothesNorm clothesNorm;

    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 销售id
     *
     */
    private Long saleId;

    /**
     * 服装id
     *
     */
    private Long clothesNormId;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 删除标志
     */
    private Long isDelete;
}
